.form-page {
  padding-bottom: 100rpx;
  padding-bottom: calc(env(safe-area-inset-bottom) + 100rpx);
  display: flex;
  flex-direction: column;

  .label {
    flex: 0 0 140rpx;
    //文字不换行
    white-space: nowrap;
    text-align: right;
    color: #999;
  }

  .form-item {
    border-bottom: 2rpx solid #f5f0ff;
    padding: 20rpx;
  }

  .footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100rpx;
    z-index: 100;
    height: calc(env(safe-area-inset-bottom) + 100rpx);
    height: calc(100rpx + constant(safe-area-inset-bottom));

    background-color: #fff;
    box-shadow: 0 0rpx 16rpx rgba(0, 0, 0, 0.3);
    &-body {
      height: 100rpx;
      display: flex;
      justify-content: space-between;
      background-color: #fff;
    }
  }

  .kefu {
    display: flex;
    align-items: center;
    padding: 0 20rpx;
    flex: 0 0 130rpx;
    button {
      display: flex;
      align-items: center;
      flex-direction: column;
      margin: 0;
      margin-right: 20rpx;
      padding: 0;
      background: transparent;
      line-height: 1.1;
      &::after {
        display: none;
      }
      image {
        width: 48rpx;
        height: 48rpx;
      }
    }
  }

  .submit {
    display: flex;
    align-items: center;
    padding: 0 20rpx;
    flex: 1;
  }

  .online-service {
    display: flex;
    align-items: center;
    flex-direction: column;

    image {
      width: 50rpx;
      height: 50rpx;
    }

    text {
      font-size: 22rpx;
    }
  }

  .phone {
    font-size: 36rpx;
    font-weight: bold;
    margin-left: 20rpx;

    view {
      font-size: 36rpx !important;
    }
  }

  .submit-btn-text {
    color: #fff;
    font-size: 36rpx;
    font-weight: 500;
  }

  .submit-btn {
    width: 100%;
    padding: 0 60rpx;
    height: 90rpx;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: $color-primary;
    // 渐变北京
    background-image: linear-gradient(to right, #ff6a00, #ff4d00);

    color: #fff;
    font-weight: 500;
    font-size: 36rpx;
    border-radius: calc(var(--border-radius) * 0.5);
    &::after {
      display: none;
    }

    // 禁用状态
    &[disabled] {
      background-color: #ccc;
      background-image: none;
    }
  }

  .navbar {
    display: flex;
    justify-content: space-between;
    padding: 20rpx;
    background-color: var(--color-primary);
    .navbar-btn {
      display: flex;
      align-items: center;
      color: #fff;
    }

    .num-tag {
      background-color: red;
      color: #fff;
      padding: 0 10rpx;
      border-radius: 20rpx;
      font-size: 20rpx;
      margin-left: 10rpx;
      line-height: 1.4;
      &.dark {
        background-color: rgba($color: #000000, $alpha: 0.4);
      }
      &.big {
        padding: 10rpx 20rpx;
        border-radius: 30rpx;
      }
    }
  }

  .list-card {
    box-shadow: 0 0 10rpx rgba(0, 0, 0, 0.1);
    border-radius: 10rpx !important;
    padding: 20rpx;

    & + .list-card {
      margin-top: 40rpx;
    }
  }
}
